function toUpperCase(str) {
  return str.toUpperCase();
}

export function makeUpField(conf) {
  const fieldList = new Array();
  conf.fields.forEach((el) => {
    const field = {
      model: el.__vModel__,
      key: el.__vModel__,
      field: el.__vModel__,
      javaType: "String",
      jdbcType: "VARCHAR",
      name: el.__config__.label,
      type: el.__config__.tagIcon,
      length: "255",
      isShow: true,
      isSearch: false,
    };
    fieldList.push(field);
  });
  return fieldList;
}
